package com.swn.dear.test;

import com.swn.dear.Student;

public class test02 {
    public static void main(String[] args) {
        System.out.println("调用子类对象:");
        Student student=new Student();
        student.selfIntroduction();
        System.out.println("调用父类对象:----------------------------------");
        Student student1=new Student();
        student1.sayHi();
    }
}
